package cn.terminus.service.customer.feign.channel;

import cn.terminus.result.common.result.TerminusResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient(name = "cbo-channel")
public interface ChannelFeignClient {
    @RequestMapping(value = "/channel/channelUserInfo/gets", method = RequestMethod.POST)
    TerminusResult<List<ChannelUserInfoResult>> gets(@RequestBody ChannelUserInfoGetsForm form);
}
